﻿/*
 * Created by SharpDevelop.
 * User: CrOnO
 * Date: 03/10/2011
 * Time: 10:15 p.m.
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Drawing;
using System.Windows.Forms;

namespace PetSoft.GUI.RRHH
{
	/// <summary>
	/// Description of GUIMostrarReporteCalendario.
	/// </summary>
	public partial class GUIMostrarReporteCalendario : Form
	{
		public GUIMostrarReporteCalendario()
		{
			try
			{
				//
				// The InitializeComponent() call is required for Windows Forms designer support.
				//
				InitializeComponent();
				
				//
				// TODO: Add constructor code after the InitializeComponent() call.
				//
			}
			catch (Exception ex)
			{
				MessageBox.Show("Error: " + ex,"Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
			}
		}
		
		void exportarClick(object sender, EventArgs e)
		{
			try
			{
				if (MessageBox.Show("¿Está seguro que desea exportar este reporte?", "Pregunta", MessageBoxButtons.YesNo) == DialogResult.Yes)
				{
					MessageBox.Show("Exportación exitosa", "Aviso", MessageBoxButtons.OK, MessageBoxIcon.Information);
					this.Close();
				}
			}
			catch (Exception ex)
			{
				MessageBox.Show("Error: " + ex,"Error",MessageBoxButtons.OK,MessageBoxIcon.Error);
			}
		}
	}
}
